-- GENERATED SPELL FOR [Core Rager] --


function spell0_11672(pUnit, Event) --@Mangle,n/a--
pUnit:FullCastSpellOnTarget(19820,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11672', 20000, 1)
end

function Sorts_11672(pUnit, Event)
local choix_sorts_11672 = math.random(0, 0)
if choix_sorts_11672 == 0 then
pUnit:RegisterEvent('spell0_11672', 1, 1)
end
end

function mob11672_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11672', math.random(1500, 3000), 1)
end

function mob11672_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11672_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11672_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11672, 1, 'mob11672_Action')
RegisterUnitEvent(11672, 2, 'mob11672_Leave')
RegisterUnitEvent(11672, 3, 'mob11672_Kill')
RegisterUnitEvent(11672, 4, 'mob11672_Die')
